#include "DrawCommand.h"


Renderer::DrawCommand::DrawCommand(Renderer::RenderState* renderState, Renderer::ShaderProgram* shaderProgram, Renderer::VertexArray* vertexArray)
{
	_renderState = renderState;
	_shaderProgram = shaderProgram;
	_vertexArray = vertexArray;
}

Renderer::DrawCommand::DrawCommand()
{
	_renderState = new RenderState();
}

Renderer::DrawCommand::~DrawCommand()
{
	delete this->_renderState;
	delete this->_shaderProgram;
	delete this->_vertexArray;
}

